<?php

use think\facade\Route;

// 独立API路由组（与原后台路由隔离）
Route::group('api/admin', function(){
    Route::post('auth/login', 'admin.Auth/login');
    Route::post('auth/logout', 'admin.Auth/logout');
})->middleware(['Api']);